<template>
  <div id="nav">
    <router-link to="/">基础版</router-link> |
    <router-link to="/withRotate">带旋转</router-link> |
    <router-link to="/mouseOperate">鼠标操作</router-link> |
    <router-link to="/vertex">顶点几何体</router-link> |
    <router-link to="/shadow">带阴影</router-link> |
    <router-link to="/texture">纹理贴图</router-link> |
    <router-link to="/repeat">重复贴图</router-link> |
    <router-link to="/dataTexture">数据纹理</router-link> |
    <router-link to="/animation">帧动画</router-link> |
    <router-link to="/park">停车场</router-link> |
    <router-link to="/gtlf">GTLF</router-link> |
    <router-link to="/curve">管道曲线</router-link> |
  </div>
  <router-view/>
</template>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
